﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;

namespace MS.InformationManagement.Presenter.CancelShipping
{
    public class CancelShippingPresenter : BasePresenter<ICancelShippingView>
    {
        #region Constructors

        public CancelShippingPresenter(ICancelShippingView view) : base(view) { }

        #endregion

        #region Public Methods

        public void CancelShipping()
        {
            View.Result = MS.InformationManagement.BLL.CancelShipping.CancelShipping.CancelShippingItem(View.CurrentId, View.CurrentListId, View.IdDevolucion, View.Motivo);
            View.Success();
        }

        #endregion

    }
}

